package com.wenli.lt.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lt
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId("orderId")
    private String orderId;

    /**
     * 订单状态(0 加入购物车  1请求购买  2 购买成功  3 购买拒绝)
     */
    @TableField("status")
    private Integer status;

    /**
     * 关联商品id
     */
    @TableField("goodsId")
    private String goodsId;

    @TableField("studentNumber")
    private String studentNumber;


}
